package com.masterrabbit.mcslf.api;

import com.masterrabbit.common.core.constant.SecurityConstants;
import com.masterrabbit.common.core.constant.ServiceNameConstants;
import com.masterrabbit.common.core.web.domain.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(contextId = "RemoteMcslfService", value = ServiceNameConstants.MCSLF_SERVICE)
public interface RemoteMcslfService {

    @RequestMapping("/merchants/getInfoByID")
    public AjaxResult getInfoByID( Long id, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
}
